<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 
 

<!doctype html>
<html>
  <head>
    <!-- Required meta tags -->
    <meta http-equiv="Content-Type" content="text/html"; charset="UTF-8" />    
	<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    
<!-- CSS -->
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.6.2/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
	<title>
		四川同路农业科技有限责任公司溯源平台</title>
  </head>

  <body>

<div id="mycarousel" class="carousel slide" data-ride="carousel">
  <div class="carousel-inner">
    <div class="carousel-item active">
      <img src="<%=path %>/images/2.png" class="d-block w-100" alt="...">
    </div>
    <div class="carousel-item">
      <img src="<%=path %>/images/17.png" class="d-block w-100" alt="...">
    </div>
    <div class="carousel-item">
      <img src="<%=path %>/images/23.png" class="d-block w-100" alt="...">
    </div>
  </div>
 <button class="carousel-control-prev" type="button" data-target="#mycarousel" data-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </button>
  <button class="carousel-control-next" type="button" data-target="#mycarousel" data-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </button>
</div>
		
	<div class = "container-fluid">  
	<br>	  
   	<h5>四川同路农业科技有限责任公司<br></h5>
   	<p class="text-muted"><small>感谢购买我公司产品,欢迎使用平台查询验真!</small></p> 
   			
   	<form action="<%=path %>/service/index/search" method="post" class="form-inline">   		
   		<div class="input-group mb-3"> 			
   		    <input type="text" class="form-control" value="" name="c" required maxlength="18" placeholder="输入单元识别码">  
   		    <div class="input-group-append">
   		        <button type="submit" class="btn btn-success">追溯查询</button>
   		    </div>
   		 </div>
   	</form>
   	
	<div class="card bg-light mb-3" style="max-width: 100rem;"><div class="card-header">查询结果</div>
	<div class="card-body"><p class="card-text">
	<small>产品名称：铁391K<br>生产经营单位：四川同路农业科技有限责任公司<br>单元识别码：${data.code }<br>追溯网址：http://www.hljget.com/seed/service/index/search?c=${data.code }<br>查询次数：${data.num }</small></p></div></div>
	<div class="card bg-light mb-3" style="max-width: 100rem;"><div class="card-header">生产信息</div>
	<div class="card-body"><p class="card-text"><small>生产信息：见包装<br>检测日期：见包装<br></small></p></div></div>
	<div class="card bg-light mb-3" style="max-width: 100rem;"><div class="card-header">流向信息</div>
	<div class="card-body"><p class="card-text"><small><br>2024-10-22 销售单(销售出库) 石济铭 二十家子镇铭宇农资 </small></p></div></div>
	<div class="card bg-light mb-3" style="max-width: 100rem;"><div class="card-header">包装信息</div>
	<div class="card-body"><p class="card-text"><small>大码：${data.code }<br>小码个数:15<br>089F213800032906<br>089F213708042907<br>089F213...</small></p></div></div>
	<div class="card bg-light mb-3" style="max-width: 100rem;"><div class="card-header">认证信息</div><div class="card-body"><p class="card-text"><small>认证证书编号:CSC-2024-0002-R1343<br>
认证种子数量:<br>
种子批数:<br>
认证标志数量:<br>
</small></p></div></div>


  	</div> 	

<!-- jQuery and JavaScript Bundle with Popper -->
<script src="<%=path %>/js/jquery.slim.js" ></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.6.2/js/bootstrap.bundle.min.js" ></script>
	</body>
</html>